home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _E8003E7053274C518BB4C6D9DE3A2B2E < prev    next >
Encoding:
Text File  |  2000-03-27  |  1.3 KB  |  61 lines

  1. #include "../common/header.ds"
  2. output "p:/base/ds/tsr1"
  3.  
  4.  
  5. // the script sets up the swatguys
  6.  
  7. local entity swatguyfront // the guy way up front by the second subway
  8. local entity endgl2 // the skinhead guy running up the stairs
  9. local entity jumpingman
  10. local int sig1
  11.  
  12.  
  13.  
  14. swatguyfront = find entity with targetname "swatguyfront"
  15. endgl2 = find entity with targetname "endgl2"
  16. jumpingman = find entity with targetname "jumpingman"
  17.  
  18. use entity jumpingman // triggers the guy in who will do jumping
  19. use entity endgl2 // triggers the guy running up the stairs
  20.  
  21.  
  22.  
  23.  
  24. animate entity jumpingman performing action STD_F_FWD_S_2 targeting entity swatguyfront kill signaling sig1
  25. wait for all clearing sig1
  26.  
  27. on jumpingman.health < 100 goto jumpingman_hit // check to see if he is shot
  28.  
  29. animate entity jumpingman performing action STD_JRUN_FWD_A_A by moving [-128, 0, 0] signaling sig1
  30. wait for all clearing sig1
  31.  
  32. goto jumpingman_hit
  33. exit
  34.  
  35.  
  36.  
  37. label jumpingman_hit // lets him go out of the animation if he is shot
  38.  
  39. reset ai for entity jumpingman
  40. animate entity jumpingman performing action SCRIPT_RELEASE
  41.  
  42. // animate entity swatguyfront performing action SCRIPT_RELEASE
  43.  
  44. animate entity endgl2 performing action SCRIPT_RELEASE
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.